package review.enumm;

/**
 * @Description @TODO
 * @Date 2025/7/22 15:17
 * @Created by weimeiling
 */
public class TestSeason {
    public static void main(String[] args) {
        Season season = Season.SPRING;
//        season = Season.SUMMER;
        switch (season) {
            case SPRING:
                System.out.println("春天");
                break;
            case SUMMER:
                System.out.println("夏天");
                break;
            case FALL:
                System.out.println("秋天");
                break;
            case WINTER:
                System.out.println("冬天");
                break;
        }
        System.out.println(season);


        for (Season value : Season.values()) {
            System.out.println(value);
        }
    }

}
